+2005-05-08 Matthias Clasen <mclasen@redhat.com>
+
+ * gdk/gdkcolor.c (gdk_cairo_set_source_color):
+ * gdk/gdkimage.h:
+ * gdk/gdkdraw.c:
+ * gdk/gdkcolor.h:
+ * gdk/gdkcursor.h:
+ * gdk/x11/gdkcolor-x11.c: Small documentation additions.
+
2005-05-07 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkscrolledwindow.h:
+2005-05-08 Matthias Clasen <mclasen@redhat.com>
+
+ * gdk/gdkcolor.c (gdk_cairo_set_source_color):
+ * gdk/gdkimage.h:
+ * gdk/gdkdraw.c:
+ * gdk/gdkcolor.h:
+ * gdk/gdkcursor.h:
+ * gdk/x11/gdkcolor-x11.c: Small documentation additions.
+
2005-05-07 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkscrolledwindow.h:
+2005-05-08 Matthias Clasen <mclasen@redhat.com>
+
+ * gdk/gdkcolor.c (gdk_cairo_set_source_color):
+ * gdk/gdkimage.h:
+ * gdk/gdkdraw.c:
+ * gdk/gdkcolor.h:
+ * gdk/gdkcursor.h:
+ * gdk/x11/gdkcolor-x11.c: Small documentation additions.
+
2005-05-07 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkscrolledwindow.h:
*
* Convenience function to set the specified GdkColor as the
* source color of the given Cairo context.
+ *
+ * Since: 2.8
**/
void
gdk_cairo_set_source_color (cairo_t *cr,
#include <cairo.h>
#include <gdk/gdktypes.h>
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+G_BEGIN_DECLS
/* The color type.
* A color consists of red, green and blue values in the
struct _GdkColormap
{
+ /*< private >*/
GObject parent_instance;
/*< public >*/
gulong planes);
#endif /* !GDK_DISABLE_DEPRECATED || GDK_COMPILATION */
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
#endif /* __GDK_COLOR_H__ */
#include <gdk/gdktypes.h>
#include <gdk-pixbuf/gdk-pixbuf.h>
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+G_BEGIN_DECLS
#define GDK_TYPE_CURSOR (gdk_cursor_get_type ())
struct _GdkCursor
{
GdkCursorType type;
+ /*< private >*/
guint ref_count;
};
#define gdk_cursor_destroy gdk_cursor_unref
#endif /* GDK_DISABLE_DEPRECATED */
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
#endif /* __GDK_CURSOR_H__ */
* but no area outside of this region will be affected by drawing
* primitives.
*
- * Return value: a #GdkRegion. This must be freed with gdk_region_destroy()
- * when you are done.
+ * Returns: a #GdkRegion. This must be freed with gdk_region_destroy()
+ * when you are done.
**/
GdkRegion *
gdk_drawable_get_clip_region (GdkDrawable *drawable)
/**
* gdk_drawable_get_visible_region:
- * @drawable:
+ * @drawable: a #GdkDrawable
*
* Computes the region of a drawable that is potentially visible.
* This does not necessarily take into account if the window is
* obscured by other windows, but no area outside of this region
* is visible.
*
- * Return value: a #GdkRegion. This must be freed with gdk_region_destroy()
- * when you are done.
+ * Returns: a #GdkRegion. This must be freed with gdk_region_destroy()
+ * when you are done.
**/
GdkRegion *
gdk_drawable_get_visible_region (GdkDrawable *drawable)
#include <gdk/gdktypes.h>
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+G_BEGIN_DECLS
/* Types of images.
* Normal: Normal X image type. These are slow as they involve passing
gpointer mem;
GdkColormap *colormap; /* read only. */
-
+
+ /*< private >*/
gpointer windowing_data; /* read only. */
};
#define gdk_image_destroy gdk_image_unref
#endif /* GDK_DISABLE_DEPRECATED */
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
#endif /* __GDK_IMAGE_H__ */
* For full documentation of the fields, see
* the Xlib documentation for <function>XAllocColorCells()</function>.
*
- * Return value:
+ * Return value: %TRUE if the allocation was successful
**/
gboolean
gdk_colors_alloc (GdkColormap *colormap,